package com.mtw.bbs.bbsUser.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色菜单
 *
 * @author mo
 * @email mo
 * @date 2023-10-23 10:15:12
 */
@Data
@TableName("os_role_menu")
@ApiModel("角色菜单")
public class RoleMenu implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 用户角色编号
	 */
	@TableId
	@ApiModelProperty(value = "主键")
	private String id;
	/**
	 * 角色id
	 */
	@ApiModelProperty(value = "角色id")
	private String roleId;
	/**
	 * 菜单id
	 */
	@ApiModelProperty(value = "菜单id")
	private String menuId;


	public RoleMenu(){}

	public RoleMenu (String menuId,String roleId){
		this.menuId = menuId;
		this.roleId = roleId;
	}



}
